
package com.dews.system.convert;

import com.dews.common.core.domain.model.SysPostVo;
import com.dews.system.domain.SysPost;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SysPostConvert {

    SysPostConvert INSTANCE = Mappers.getMapper(SysPostConvert.class);

    SysPost convert(SysPostVo bean);

    SysPostVo convert(SysPost domain);

    List<SysPostVo> convert(List<SysPost> domains);
}
